<?php
//PLUGIN type=action
//PLUGIN name=library.folder.delete
//PLUGIN desc=Enables you to remove folders from library
//PLUGIN group=native



if(!empty($options['folder']) ) {
    if(unlinkRecursive(_LIBRARYPATH_ . "/images" . $options['folder'],true))
        print "OK";
    else
        print "FAILURE";
}
exit();
?>